# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-emoji
_pkgorig=emoji
pkgver=1.7.0
pkgrel=0
pkgdesc="Emoji terminal output for Python"
url="https://github.com/carpedm20/emoji"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/e/emoji/emoji-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
fee25229ef24c82570eccf488dcdd7d1ac7ab99c8d3723c0b7b2afb5831c85bae8e4887f6d15121f4b65c9754616c2a8576087d4edfa1896f2cf0ebe03c5655a  py3-emoji-1.7.0.tar.gz
"
